Total Complexity | 22 |
Dependencies | 7 |
Dependents | 0 |
Total lines | 149 |
Lines of code | 81 |
Logical lines of code | 48 |
Comment lines | 49 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add() | 47 | 5 | 38 | |
validate_item_qty() | 61 | 5 | 12 | |
validate_cart_request() | 76 | 5 | 3 | |
remove() | 58 | 3 | 14 | |
get_cart_instance() | 65 | 3 | 8 | |
__construct() | 70 | 1 | 6 |